package com.ybkj.chat.module.friend_center.activity;

import android.view.View;
import android.widget.Button;
import android.widget.TextView;

import com.ybkj.chat.R;
import com.ybkj.chat.base.BaseMvpActivity;
import com.ybkj.chat.manager.ActivityManager;
import com.ybkj.chat.ui.dialog.TipDialog;
import com.ybkj.chat.utils.ResourcesUtil;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * 关注更多
 */
public class FollowMoreActivity extends BaseMvpActivity {

    //拉黑
    @BindView(R.id.pull_black_tv)
    TextView pullBlackTv;
    //取消关注
    @BindView(R.id.cancel_concern)
    Button cancelConcern;

    private TipDialog tipDialog;

    @Override
    protected void injectPresenter() {

    }

    @Override
    protected void initTitle() {
        setTitleText(ResourcesUtil.getString(R.string.more));
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_follow_more;
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void initData() {

    }

    @OnClick({R.id.remarks_name, R.id.switch1, R.id.group_layout, R.id.pull_black_tv, R.id.cancel_concern})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            //设置备注名
            case R.id.remarks_name:
                ActivityManager.gotoActivity(mContext, MemoNameActivity.class);
                break;
            //关注开关
            case R.id.switch1:
                break;
            //分组
            case R.id.group_layout:
                break;
            //拉黑
            case R.id.pull_black_tv:
                tipDialog = new TipDialog(mContext);
                tipDialog.setMessageText("提示");
                tipDialog.setContentText("拉黑后将不会接受到对方的消息 可在黑名单中解除，是否拉黑？");
                tipDialog.show();
                break;
            //取消关注
            case R.id.cancel_concern:
                tipDialog = new TipDialog(mContext);
                tipDialog.setMessageText("取消关注");
                tipDialog.setContentText("确定将她移除你的粉丝列表");
                tipDialog.show();
                break;


        }
    }
}
